<template>
  <div>
    哈哈嗨:{{ id }}
    <el-button @click="handleLog">log一下</el-button>
  </div>
</template>

<script>
export default {
  props: {
    id: {
      type: String,
    },
  },
  data() {
    return {};
  },
  mounted() {
    // console.log(this.id);
  },
  methods: {
    handleLog() {
      this.$emit("refresh", "哈哈哈");
    },
  },
};
</script>
